package com.example.enews.models

data class RankItem(
    val teamName: String,
    val region: String,
    val score: Double,
    val rank: Int
)

object RegionPriority {
    val order = listOf("欧洲", "亚洲", "南美", "大洋洲", "北美", "中东")

    fun getPriority(region: String): Int {
        return order.indexOf(region).takeIf { it >= 0 } ?: order.size
    }
}

